package com.demo.webflux.simple4;

import org.springframework.data.mongodb.repository.ReactiveMongoRepository;

import reactor.core.publisher.Mono;

public interface UserReposiroty extends ReactiveMongoRepository<User, String> {

	Mono<User> findMostActive();

	Mono<User> findMostPopular();

}
